@mixin comp($key,$val) {
    -ms-#{$key}:$val;
    -moz-#{$key}:$val;
    -webkit-#{$key}:$val;

}

.box{
    width: 100px;
    height: 100px;
}
.banner-box{
    width: 100%;
    height: 500px;
    .banner{
        width: 100%;
        height: 500px;
        position: relative;
        img{
            width: 100%;
            height: 500px;
        }
        .bannerMsg{
            position: absolute;
            top: 45%;
            right: 15%;
            width: 251px;
            height: 251px;
            h3{
                font-size: 40px;
                letter-spacing: 20px;
                color: white;
                margin-bottom: 20px;
                font-weight: 300;
            }
            p{margin-left: 10px;
                font-size: 14px;
                letter-spacing: 5px;
                color: white;
            }
        }
    }
}
.dis-box{
    width: 100%;
    height: 45px;
    background-color: #f4f4f4;
    .dis{
        width: 1098px;
        height: 45px;
        margin: 0 auto;
        p{
            text-align: center;
            line-height: 45px;
            font-size: 14px;
            letter-spacing: 4px;
            font-weight: 300;
            color: #000000;
        }
    }
}

.shouGoods-box{
    width: 100%;
    background: white;
    .shouGoods{
        width: 1098px;
        margin: 0 auto;
        .sort{
            width: 1098px;
            height: 120px;
            padding-top: 40px;
        
            select{
                width: 100px;
                height: 40px;
                cursor: pointer;
                border-style: none none solid;
                border-image: initial;
                padding: 0px;
                 margin: 0px 0px 0px 1.1rem;
                border-radius: 2px;
                border: 1px solid black;
                -webkit-appearance:none;
                -moz-appearance:none;
                appearance:none; 
                background: url("http://ourjs.github.io/static/2015/arrow.png") no-repeat scroll right center transparent;
                text-align: center;
                text-align-last: center;

                &>:hover{
                background:#273751;
                }
            }
            .search{
                width: 210px;
                height: 40px;
                float: right;
                input{
                    height: 40px;
                    box-sizing: border-box;
                    border: 0;
                    border: 3px solid #f7f7f7;
                    outline: 0;
                    float: left;
                }
                span{
                    float: right;
                    display: block;
                    width: 40px;
                    height: 40px;
                    text-align: center;
                    line-height: 40px;
                    cursor: pointer;
                    font-size: 16px;
                    font-weight: 300;
                    // color: gray;
                }
            }
        }

        ul{
            width: 1098px;
            // height: 432px;
            display: flex;
            flex-wrap: wrap;
            justify-content:space-around;
            li{
                width:262px;
                height: 395px;
                background-color: white;
                overflow: hidden;
                margin-bottom: 15px;
                @include comp(box-shadow,0.3s ease 0s);
                a{
                    display: block;
                    width:262px;
                    height: 395px;
                    overflow: hidden;
                    img{
                        background-color: #f5f5f5;
                        width: 262px;
                        height: 260px;
                    }
                    .newGoods{
                        // display: block;
                        width: 57px;
                        height: 16px;
                        margin-top: 5px;
                        margin-left: 5px;
                        background-color: #cdbc7a;
                        color: white;
                        text-align: center;
                    }
                    p:nth-of-type(2){
                        display: block;
                        width: 257px;
                        height: 35px;
                        font-size: 9px;
                        font-weight: 200px;
                        margin-top: 5px;
                        margin-left: 5px;
                        color: #675554;
                        display: -webkit-box;
                        text-overflow: ellipsis;
                        overflow: hidden;
                        -webkit-box-orient: vertical;
                         -webkit-line-clamp:2;
                    }
                    p:nth-of-type(3){
                        width: 17px;
                        height: 17px;
                        margin-top: 5px;
                        margin-left: 5px;
                        border:1px solid black;
                        border-radius: 50%;
                        span{
                            display: block;
                           margin: 0 auto;
                            width: 15px;
                            height: 15px;
                            background-color:#e5ae87 ;
                            border-radius: 50%;
                        }
                    }
                    p:nth-of-type(4){
                        font-size: 9px;
                        // font-weight: 200px;
                        margin-top: 5px;
                        margin-left: 5px;
                        color: #675554;
                    }
                    p:nth-of-type(5){
                        font-size: 9px;
                        // font-weight: 200px;
                        margin-top: 5px;
                        margin-left: 5px;
                        color: #675554;
                    }
                    
    
                }
                &:hover{
                    box-shadow: rgba(0, 0, 0, 0.13) 0px 10px 20px 0px, rgba(0, 0, 0, 0.19) 0px 3px 9px 0px;
                 }
               
            }
        }
        
    }
}
.page{
                   display: flex;
                   justify-content: center;
                    
    .pageBox{
        width: 1098px;
        height: 40px;
        margin: 0 auto;
    }
}
.note-box{
    width:100%;
    height: 110px;
    background-color: #f8f8f8;
    .note{
        width: 1098px;
        height: 110px;
        margin: 0 auto;
        text-align: center;
        p{

            width: 700px;
            height: 110px;
            margin: 0 auto;
            padding-top:20px ;
            font-size: 20px;
            font-weight: 300;
            a{
                color: black;
                border-bottom: 1px solid black;
            }
        }
    }
}